﻿using Mondial2014.Models.Competition;

namespace Mondial2014.Utils.Extensions
{
    public enum StageType
    {
        Gorups = 0,
        Last16,
        Quarter,
        Semi,
        Final,
        Winner
    }

    public static class StageModelExtensions
    {
        public static StageType StageType(this Stage stage)
        {
            return (StageType)(stage.Level);
        }
    }
}